﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008B3 RID: 2227
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GroupStateChangeScRsp : IMessage<GroupStateChangeScRsp>, IMessage, IEquatable<GroupStateChangeScRsp>, IDeepCloneable<GroupStateChangeScRsp>, IBufferMessage
	{
		// Token: 0x17001C04 RID: 7172
		// (get) Token: 0x06006387 RID: 25479 RVA: 0x0010813D File Offset: 0x0010633D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GroupStateChangeScRsp> Parser
		{
			get
			{
				return GroupStateChangeScRsp._parser;
			}
		}

		// Token: 0x17001C05 RID: 7173
		// (get) Token: 0x06006388 RID: 25480 RVA: 0x00108144 File Offset: 0x00106344
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GroupStateChangeScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001C06 RID: 7174
		// (get) Token: 0x06006389 RID: 25481 RVA: 0x00108156 File Offset: 0x00106356
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GroupStateChangeScRsp.Descriptor;
			}
		}

		// Token: 0x0600638A RID: 25482 RVA: 0x0010815D File Offset: 0x0010635D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeScRsp()
		{
		}

		// Token: 0x0600638B RID: 25483 RVA: 0x00108168 File Offset: 0x00106368
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeScRsp(GroupStateChangeScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.groupStateInfo_ = ((other.groupStateInfo_ != null) ? other.groupStateInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600638C RID: 25484 RVA: 0x001081B4 File Offset: 0x001063B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeScRsp Clone()
		{
			return new GroupStateChangeScRsp(this);
		}

		// Token: 0x17001C07 RID: 7175
		// (get) Token: 0x0600638D RID: 25485 RVA: 0x001081BC File Offset: 0x001063BC
		// (set) Token: 0x0600638E RID: 25486 RVA: 0x001081C4 File Offset: 0x001063C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001C08 RID: 7176
		// (get) Token: 0x0600638F RID: 25487 RVA: 0x001081CD File Offset: 0x001063CD
		// (set) Token: 0x06006390 RID: 25488 RVA: 0x001081D5 File Offset: 0x001063D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateInfo GroupStateInfo
		{
			get
			{
				return this.groupStateInfo_;
			}
			set
			{
				this.groupStateInfo_ = value;
			}
		}

		// Token: 0x06006391 RID: 25489 RVA: 0x001081DE File Offset: 0x001063DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GroupStateChangeScRsp);
		}

		// Token: 0x06006392 RID: 25490 RVA: 0x001081EC File Offset: 0x001063EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GroupStateChangeScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.GroupStateInfo, other.GroupStateInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006393 RID: 25491 RVA: 0x0010823C File Offset: 0x0010643C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.groupStateInfo_ != null)
			{
				num ^= this.GroupStateInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006394 RID: 25492 RVA: 0x00108291 File Offset: 0x00106491
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006395 RID: 25493 RVA: 0x00108299 File Offset: 0x00106499
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006396 RID: 25494 RVA: 0x001082A4 File Offset: 0x001064A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.groupStateInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.GroupStateInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006397 RID: 25495 RVA: 0x00108300 File Offset: 0x00106500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.groupStateInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GroupStateInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006398 RID: 25496 RVA: 0x00108358 File Offset: 0x00106558
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GroupStateChangeScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.groupStateInfo_ != null)
			{
				if (this.groupStateInfo_ == null)
				{
					this.GroupStateInfo = new GroupStateInfo();
				}
				this.GroupStateInfo.MergeFrom(other.GroupStateInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006399 RID: 25497 RVA: 0x001083C0 File Offset: 0x001065C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600639A RID: 25498 RVA: 0x001083CC File Offset: 0x001065CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.groupStateInfo_ == null)
					{
						this.GroupStateInfo = new GroupStateInfo();
					}
					input.ReadMessage(this.GroupStateInfo);
				}
			}
		}

		// Token: 0x04002603 RID: 9731
		private static readonly MessageParser<GroupStateChangeScRsp> _parser = new MessageParser<GroupStateChangeScRsp>(() => new GroupStateChangeScRsp());

		// Token: 0x04002604 RID: 9732
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002605 RID: 9733
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04002606 RID: 9734
		private uint retcode_;

		// Token: 0x04002607 RID: 9735
		public const int GroupStateInfoFieldNumber = 6;

		// Token: 0x04002608 RID: 9736
		private GroupStateInfo groupStateInfo_;
	}
}
